import { useEffect, useRef } from 'react'
function App() {
  const inputRef = useRef(null);

  useEffect(() => {

  }, [])


  function onChange(envent) {
    console.log(envent.target.value);

  }

  return (
    <input type="text" defaultValue={'hello'} ref={inputRef} />
  )
}
export default App;